package com.gupaoedu.pattern.observer.event;

/**
 * 2019/9/28
 * created by chenpp
 */
public class MouseEventCallback {
    public void onClick(Event e){
        System.out.println("===========触发鼠标单击事件==========" + "\n" + e);
    }
    public void onDoubleClick(Event e){
        System.out.println("===========触发鼠标双击事件==========" + "\n" + e);
    }
    public void  onDown(Event e){
        System.out.println("===========触发鼠标按下事件==========" + "\n" + e);
    }
    public void  onFocus(Event e){
        System.out.println("===========触发鼠标聚焦事件==========" + "\n" + e);
    }
}
